package com.group.prescription.service;

import com.group.commons.util.CommonStatus;
import com.group.commons.util.ResponseInfo;

import com.group.prescription.entity.Prescription;

import java.util.List;

public interface PrescriptionService {
    /**
     * @Description:删除单个处方
     * @Param: int
     * @return: ResponseInfo
     * @Author: ht
     * @Date: 2022/6/6
     */
ResponseInfo deleteOne(int id);
    /**
     * @Description:批量删除处方
     * @Param: List
     * @return: ResponsrInfo
     * @Author: ht
     * @Date: 2022/6/6
     */
ResponseInfo batchDeletes(List delList);
    /**
     * @Description:查找所有处方
     * @Param:
     * @return: ResponseInfo
     * @Author: ht
     * @Date: 2022/6/6
     */
ResponseInfo findAll(Prescription prescription, int page, int pages);
    /**
     * @Description:根据审核状态查找处方
     * @Param:
     * @return: ResponseInfo
     * @Author: ht
     * @Date: 2022/6/7
     */
ResponseInfo findByStatus(CommonStatus commonStatus, int page, int pages);


}
